package com.center.growcenterserver.model.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName("teachers")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "teacher_id", type = IdType.INPUT)
    private String teacherId;

    private String realName;

    private String major;

    private String pic;

    public void setPicUrl(String picUrl) {
        this.pic = picUrl;
    }

}
